<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="stylesheet"
	href="<c:url value="/resources/lib/bootstrap-3.3.5/css/bootstrap.min.css"/>" />
	
	<link href="/resources/lib/font-awesome-4.4.0/css/font-awesome.min.css"	rel="stylesheet" type="text/css" />
<link href="/resources/css/common.css" rel="stylesheet" type="text/css" />


<link rel="stylesheet"
	href="<c:url value="/resources/css/account/register.css"/>" />
<script
	src="<c:url value="/resources/lib/angular-1.4.7/angular.min.js"/>"
	type="text/javascript">
	
</script>

<script src="<c:url value="/resources/js/account/register.js" />"
	type="text/javascript"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>register</title>
</head>
<body ng-app="conversionTool">

		<header>

			<div class="col-md-1 header-logo pull-left">
				<img src="/resources/img/bulogo.gif">
			</div>
			<div class="col-xs-7 header-title">
				<p>Conversion Accelerators</p>
			</div>
		<div class="col-md-2 header-tool pull-right">
			<img src="/resources/img/topimg.gif">
		</div>
	</header>


	<section class="container" ng-controller="registerCtrl" name="form" novalidate="novalidate">
		<div class="form_register">
                <div class="registertext"><span>Register</span> </div>
			<form class="form-horizontal  registerinfo" name="form">
				<div class="form-group">
				<div class="col-xs-6">
				<input type="email" class="form-control" id="email" name="email" ng-model="email" placeholder="please enter your email" required/> 
				
				</div>
				<div class="col-xs-6" >
				 <input type="text" class="form-control" id="company" name="company" ng-model="company"
						placeholder="please enter your company" required/>
				
				</div>
				</div>
				
				 <div class="form-group">

					<!--  <label for="password">password:</label> -->
					<div class="col-xs-8">
					<input type="password"
						class="form-control" id="password" name="password" ng-model="password"
						placeholder="please enter your password" required/>
                  	</div>
				
				</div>
				<div class="form-group">

					<!--  <label for="passwordConfirm">password confirm:</label>-->
					<div class="col-xs-8">
				<input type="password" class="form-control" name="passwordConfirm" id="passwordConfirm" ng-model="passwordConfirm" placeholder="please enter your password" required/>
                    </div>
                  
				</div>
				<div class="form-group">
					<!-- <label for="userName">user name:</label> -->
					<div class="col-xs-8">
				<input type="text" class="form-control" id="userName" name="userName" ng-model="userName" placeholder="please enter your user name" required/>
				
                </div>
               
				</div>
				<div class="col-xs-12 text-center form-group">
				
				<div class="col-xs-5 rgstbtn">
				<input type="button" class="btn btn-lg btn-primary" value="Register"ng-click="register()" />
				 </div>
				<div class="col-xs-5 pull-right gotologin">
			   <!-- <input type="button"class="btn btn-default" value="go to login" ng-click="gotoLogin()" /> -->
			     <a href="#" ng-click="gotoLogin()">Back to Login</a>
			     
			   
			</div> 

				</div>
			
				
				
			
				</form>
		</div>
		
		<div class="control-group  error" ng-show="msg.length>1">
					
		<div class="alert alert-danger alert-dismissable">{{msg}}</div> 	
				</div>
		
	</section>


</body>
</html>